#include "StdAfx.h"
#include "sms_dlg_base.h"
#include <ui/setdpi.h>



BEGIN_MESSAGE_MAP(sms_dlg_base, CDialog)
	ON_WM_SIZE()
END_MESSAGE_MAP()

void 
sms_dlg_base::OnSize(UINT nType, int cx, int cy)
{
	__super::OnSize(nType, cx, cy);
	ArrangeLayout();
}

void 
sms_dlg_base::SetDpi(UINT nIDTemplate)
{
	CSetDPI dpi;
	dpi.Attach(AfxFindResourceHandle(MAKEINTRESOURCE(nIDTemplate), RT_DIALOG),
		m_hWnd,nIDTemplate,96.0); 
}
